package edu.guet.server.service;

import edu.guet.server.mapper.StudentHomeworkMapper;
import edu.guet.server.model.SemesterStatistic.ChapterScores;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StuhmkService {
    @Autowired
    StudentHomeworkMapper studentHomeworkMapper;

    public List<ChapterScores.HomeworkScore> findHmkScore(Integer unitId) {
        return studentHomeworkMapper.findHmkScore(unitId);
    }
}
